package com.linsir.cms.auto;

import com.linsir.core.auto.annotation.AutoContextInitializer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.ApplicationContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * @ClassName : CMSApplicationContextInitializer
 * @Description :
 * @Author : Linsir
 * @Date: 2023-12-25 16:32
 */

@AutoContextInitializer
@Slf4j
public class CMSApplicationContextInitializer implements ApplicationContextInitializer {
    @Override
    public void initialize(ConfigurableApplicationContext applicationContext) {

        log.info("引入cms ApplicationContextInitializer"+ applicationContext.getId());
    }
}
